package com.management.service;

import com.management.controller.form.*;
import com.management.model.DefectState;
import com.baomidou.mybatisplus.extension.service.IService;
import com.management.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙世超
 * @since 2022-03-23
 */
public interface DefectStateService extends IService<DefectState> {

    Result FindStates(GetStatePageForm getStatePageForm);

    Result CreateState(CreateStateForm createStateForm);

    Result removState(RemoveStateForm removeStateForm);

    Result removeBystateIds(RemoveBysateIdsForm removeBysateIdsForm);

    Result updateBystateId(DisableStateForm disableStateForm);


    Result FindAllDefectState();

    Result getAllDefect();
}
